﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace LdtJudge.DataEngine.Model.XMLConfigModel.CircumsatanModel
{
    [Serializable]
    [XmlRootAttribute("root", IsNullable = false)]
    public class CuaseSuitinfoModel
    {
        [XmlElementAttribute("casetype", IsNullable = false)]
        public List<CuaseSuitinfoCaseTypeModel> casetypeModelList = new List<CuaseSuitinfoCaseTypeModel>();
    }
    [Serializable]
    [XmlRootAttribute("casetype", IsNullable = false)]
    public class CuaseSuitinfoCaseTypeModel
    {
        [XmlElementAttribute("booktype", IsNullable = false)]
        public List<CuaseSuitinfoBookeTypeModel> booketypeMdoelList = new List<CuaseSuitinfoBookeTypeModel>();

        [XmlAttribute("value")]
        public string value;
    }
    [Serializable]
    [XmlRootAttribute("booktype", IsNullable = false)]
    public class CuaseSuitinfoBookeTypeModel
    {
        [XmlAttribute("value")]
        public string value;

        [XmlElementAttribute("AppealElement", IsNullable = false)]
        public List<CuaseSuitinfoAppealElementModel> appealElementModels = new List<CuaseSuitinfoAppealElementModel>();


        [XmlElementAttribute("UndisputedFacke", IsNullable = false)]
        public List<CuaseSuitinfoUndisputedFackeModel> undisputedFackeModels = new List<CuaseSuitinfoUndisputedFackeModel>();

        [XmlElementAttribute("ResultElement", IsNullable = false)]
        public List<ResultElementModel> resultElementModelList = new List<ResultElementModel>();
    }
    [Serializable]
    [XmlRootAttribute("AppealElement", IsNullable = false)]
    public class CuaseSuitinfoAppealElementModel
    {
        [XmlAttribute("ParagraphCode")]
        public string ParagraphCode;
    }
    [Serializable]
    [XmlRootAttribute("UndisputedFacke", IsNullable = false)]
    public class CuaseSuitinfoUndisputedFackeModel
    {
        [XmlAttribute("ParagraphCode")]
        public string ParagraphCode;
    }
    [Serializable]
    [XmlRootAttribute("ResultElement", IsNullable = false)]
    public class ResultElementModel 
    {
        [XmlAttribute("ParagraphCode")]
        public string ParagraphCode;
        [XmlAttribute("PersonStatus")]
        public string PersonStatus;
    }
}
